package com.xinqi.modules.sys.log.dto.rsp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 异步日志实体类
 *
 * @author dzy
 */
@Data
public class AsyncLogResultDTO implements Serializable {

    @Schema(description = "主键", example = "")
    private Long id;

    @Schema(description = "日志标题", example = "")
    private String title;

    @Schema(description = "日志业务类型", example = "")
    private String type;

    @Schema(description = "日志业务操作类型", example = "")
    private String operaType;

    @Schema(description = "操作人员", example = "")
    private Long operatorId;

    @Schema(description = "操作人员", example = "")
    private String operatorName;

    @Schema(description = "请求URL", example = "")
    private String operatorUrl;

    @Schema(description = "主机地址", example = "")
    private String operatorIp;

    @Schema(description = "日志业务参数", example = "")
    private String paramJson;

    @Schema(description = "日志状态", example = "")
    private Integer status;

    @Schema(description = "日志错误信息", example = "")
    private String errorMsg;

    @Schema(description = "创建人", example = "")
    private Long createBy;

    @Schema(description = "创建时间", example = "")
    private LocalDateTime createTime;

}
